package com.yedean.mall.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yedean.mall.entity.PmsProductAttributeCategory;
import com.yedean.mall.mapper.PmsProductAttributeCategoryMapper;
import com.yedean.mall.service.IPmsProductAttributeCategoryService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 产品属性分类表 服务实现类
 * </p>
 *
 * @author yedean
 * @since 2022-08-09
 */
@Service
public class PmsProductAttributeCategoryServiceImpl extends ServiceImpl<PmsProductAttributeCategoryMapper, PmsProductAttributeCategory> implements IPmsProductAttributeCategoryService {

    @Override
    public IPage<PmsProductAttributeCategory> getPageList(Integer pageSize, Integer pageNum) {
        Page<PmsProductAttributeCategory> page = new Page<>(pageNum, pageSize);
        
        return baseMapper.selectPage(page,null);
    }
}
